package no.sachmuld.methodcombination.api;


/**
 *
 */
public abstract class MethodCombinationSupport<B> implements MethodCombinationProtocol<B> {

    final private BehaviourChain<B> chain = new BehaviourChain<>();

    public MethodCombinationSupport<B> with(B... behaviours) {
        chain.addAll(behaviours);
        return this;
    }

    final public BehaviourChain<B> chain() {
        return chain;
    }

}
